using System;
using System.Collections.Generic;
using System.Text;

namespace LogParser.DA
{
    public class CaptureModel
    {
        public CaptureModel( )
        {

        }
        
        // Get Top 5 Deaths
        public static DA.DataObjects.CaptureStatsDS.CapturesSelectTop5PlayersDataTable GetCaptureTop5Players( )
        {

            DA.DataObjects.CaptureStatsDSTableAdapters.CapturesSelectTop5PlayersTableAdapter ta = TableAdapters.CapturesSelectTop5PlayersTableAdapter();
            DA.DataObjects.CaptureStatsDS.CapturesSelectTop5PlayersDataTable dt = ta.GetData();

            return dt;

        }

        public static DA.DataObjects.CaptureStatsDS.FlagEventSelectTop5PlayersByEventTypeDataTable GetFlagCaptureTop5Players( )
        {
            DA.DataObjects.CaptureStatsDSTableAdapters.FlagEventSelectTop5PlayersByEventTypeTableAdapter ta = TableAdapters.FlagEventSelectTop5PlayersByEventTypeTableAdapter();
            DA.DataObjects.CaptureStatsDS.FlagEventSelectTop5PlayersByEventTypeDataTable dt = ta.GetData("captured");

            return dt;
        }

    }
}
